package com.example.lianguisystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@TableName("T_LIAN_GUI_DAILY_CAPACITY")
@ApiModel("组装、验收单记录表")
public class DailyCapacity {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    @ApiModelProperty("billid")
    Integer billid;

    @ApiModelProperty("billcode")
    String billcode;


    @ApiModelProperty("类型 验收单或者组装单")
    String billType;

    @ApiModelProperty("创建人")
    String createBy;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("创建时间")
    Date createDate;

    @ApiModelProperty("修改人")
    String updateBy;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("修改时间")
    Date updateDate;
}
